package com.night.common.entity.card;

import com.night.common.entity.administration.Teacher;
import com.night.common.entity.student.Student;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName: Card
 * @Description: 校园一卡通实体类
 * @author: CHX42
 * @date: 2022/10/18-17:08
 * @version: v1.0
 */
@Data
public class Card  implements Serializable {
    private Integer id;
    private String cardNum;
    private String cardStatus;
    private BigDecimal cardMoney;
    private Integer cardLoss;
    private String cardPasswd;
    private Integer studentId;
    private Integer teacherId;
    /**
     * @Description     student 用于查询时带出学生参数
     **/
    private Student student;
    /**
     * @Description     teacher 用于查询时带出老师参数
     **/
    private Teacher teacher;

}
